package com.mjk.manager.centerconf.dto;

import java.io.Serializable;
import com.mjk.common.util.ObjectUtils;
import lombok.Data;

/**
 * 刷新类
 * @author Administrator
 *
 */
@Data
public class RefreshEntity implements Serializable{
	public RefreshEntity() {}
	public RefreshEntity(String profile,String ip) {
		if(ObjectUtils.isNotEmpty(profile)) {
			this.profile = profile;
		}
		this.ip = ip;
	}
	private String profile="dev";//spring中默认的环境 默认为测试
	private String ip;//通知的IP地址 针对灰度发布
}
